package router

import (
	"booking/internal/app/handler/test"
	"booking/middleware"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	bookingRouter := r.Group("/test")
	bookingRouter.Use(middleware.AppJWTAuth())
	{
		bookingRouter.POST("test", test.Test) // 测试
	}
	return r
}
